package com.share.menu;

import java.util.List;

/**
 * 查询菜单
 * @author richaelguitar
 *
 */
public class QueryMenu {


    /**
     * menu : {"button":[{"name":"生活助手","sub_button":[{"type":"click","name":"天气预报","key":"11","sub_button":[]},{"type":"click","name":"公交查询","key":"12","sub_button":[]},{"type":"click","name":"周边搜索","key":"13","sub_button":[]},{"type":"click","name":"历史上的今天","key":"14","sub_button":[]}]},{"name":"休闲驿站","sub_button":[{"type":"click","name":"歌曲点播","key":"21","sub_button":[]},{"type":"click","name":"经典游戏","key":"22","sub_button":[]},{"type":"click","name":"美女电台","key":"23","sub_button":[]},{"type":"click","name":"人脸识别","key":"24","sub_button":[]},{"type":"click","name":"聊天唠嗑","key":"25","sub_button":[]}]},{"name":"更多体验","sub_button":[{"type":"click","name":"Q友圈","key":"31","sub_button":[]},{"type":"click","name":"电影排行榜","key":"32","sub_button":[]},{"type":"click","name":"幽默笑话","key":"33","sub_button":[]}]}]}
     */

    private MenuBean menu;

    public MenuBean getMenu() {
        return menu;
    }

    public void setMenu(MenuBean menu) {
        this.menu = menu;
    }

    public static class MenuBean { 
        private List<ButtonBean> button;

        public List<ButtonBean> getButton() {
            return button;
        }

        public void setButton(List<ButtonBean> button) {
            this.button = button;
        }

        public static class ButtonBean {
            /**
             * name : 生活助手
             * sub_button : [{"type":"click","name":"天气预报","key":"11","sub_button":[]},{"type":"click","name":"公交查询","key":"12","sub_button":[]},{"type":"click","name":"周边搜索","key":"13","sub_button":[]},{"type":"click","name":"历史上的今天","key":"14","sub_button":[]}]
             */

            private String name;
            private List<SubButtonBean> sub_button;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public List<SubButtonBean> getSub_button() {
                return sub_button;
            }

            public void setSub_button(List<SubButtonBean> sub_button) {
                this.sub_button = sub_button;
            }

            public static class SubButtonBean {
                /**
                 * type : click
                 * name : 天气预报
                 * key : 11
                 * sub_button : []
                 */

                private String type;
                private String name;
                private String key;
                private List<?> sub_button;

                public String getType() {
                    return type;
                }

                public void setType(String type) {
                    this.type = type;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getKey() {
                    return key;
                }

                public void setKey(String key) {
                    this.key = key;
                }

                public List<?> getSub_button() {
                    return sub_button;
                }

                public void setSub_button(List<?> sub_button) {
                    this.sub_button = sub_button;
                }
            }
        }
    }
}
